#pragma once
#include "Common.h"
#include "IMoveable.h"
#include "IRotateable.h"
#include <glm\glm.hpp>


class EXPORT SingleControlPointObject : public IMoveable , public IRotateable
{
	glm::vec3 position;
	glm::vec3 rotation;
public:

	SingleControlPointObject();
	void SetPosition(float x,float y,float z);
	void SetPosition(glm::vec3 position);

	glm::vec3 GetPosition();

	void Move(float x,float y,float z);
	void Move(glm::vec3 offSet);
	void SetRotation(float x,float y,float z);
	void SetRotation(glm::vec3 rotation);

	glm::vec3 GetRotation();

	void Rotate(float degress,Axis axis);
};

